package org.example.shop.service.login;

import org.example.shop.entity.Users;

public class WeChatStrategy implements LoginStrategy{
    @Override
    public Users login(Object... params) {
        //1. 获取临时凭证
        String code = (String)params[0];
        //2. 访问微信服务器拿到openid

        return null;
    }

    @Override
    public String getLoginType() {
        return "wechat";
    }
}
